<template>
  <div class="song-list-wrap">
    <Song
      v-for="(song, index) in list"
      :key="song.id"
      :song="song"
      :showSort="showSort"
      :sort="index + 1"
    />
  </div>
</template>
<script lang="ts">
import { PropType } from "vue";
export default {
  props: {
    list: {
      type: Array as PropType<CustomTypeSong.Song[]>,
      default: () => [],
    },
    showSort: Boolean,
  },
};
</script>
